ostree.git
14 years agocore: Fix checksum for symlinks walking off into uninitialized memory
Colin Walters [Wed, 26 Oct 2011 22:33:33 +0000 (18:33 -0400)]
core: Fix checksum for symlinks walking off into uninitialized memory

14 years agoparallel-debian: Add install and run scripts
Colin Walters [Wed, 26 Oct 2011 21:16:46 +0000 (17:16 -0400)]
parallel-debian: Add install and run scripts

14 years agognomeos-make-image.sh: Don't copy kernel
Colin Walters [Wed, 26 Oct 2011 20:33:11 +0000 (16:33 -0400)]
gnomeos-make-image.sh: Don't copy kernel

There's no point.

14 years agognomeos-make-image.sh: Take care of downloading and patching dracut
Colin Walters [Wed, 26 Oct 2011 19:00:04 +0000 (15:00 -0400)]
gnomeos-make-image.sh: Take care of downloading and patching dracut

14 years agognomeos-make-image.sh: Check for some dependencies before we run
Colin Walters [Wed, 26 Oct 2011 18:59:45 +0000 (14:59 -0400)]
gnomeos-make-image.sh: Check for some dependencies before we run

14 years agoOne more missing substitution for previous commit
Colin Walters [Wed, 26 Oct 2011 18:43:50 +0000 (14:43 -0400)]
One more missing substitution for previous commit

14 years agognomeos-make-image.sh: Support out of tree ostree
Colin Walters [Wed, 26 Oct 2011 18:42:58 +0000 (14:42 -0400)]
gnomeos-make-image.sh: Support out of tree ostree

14 years agoAdd Makefile for ostree_switch_root
Colin Walters [Wed, 26 Oct 2011 18:40:36 +0000 (14:40 -0400)]
Add Makefile for ostree_switch_root

14 years agoDrop glib requrirement to 2.28
Colin Walters [Wed, 26 Oct 2011 18:10:20 +0000 (14:10 -0400)]
Drop glib requrirement to 2.28

This lets it build on more currently-released systems like Fedora 15.

14 years agoconfigure: Use AC_PROG_LIBTOOL
Colin Walters [Wed, 26 Oct 2011 17:52:42 +0000 (13:52 -0400)]
configure: Use AC_PROG_LIBTOOL

This apparently helps autoreconf know we're using libtool.

14 years agodebian-setup.sh: I can log in now
Colin Walters [Wed, 26 Oct 2011 17:14:05 +0000 (13:14 -0400)]
debian-setup.sh: I can log in now

14 years agoPile of work on parallel-debian
Colin Walters [Tue, 25 Oct 2011 02:02:16 +0000 (22:02 -0400)]
Pile of work on parallel-debian

14 years agoconfigure: make missing prototypes an error always
Colin Walters [Fri, 21 Oct 2011 15:27:40 +0000 (11:27 -0400)]
configure: make missing prototypes an error always

14 years agoMove triggers into new builtin: ostree run-triggers
Colin Walters [Fri, 21 Oct 2011 13:55:39 +0000 (09:55 -0400)]
Move triggers into new builtin: ostree run-triggers

14 years agoFix up triggers and gnomeos-make-image.sh
Colin Walters [Thu, 20 Oct 2011 21:24:21 +0000 (17:24 -0400)]
Fix up triggers and gnomeos-make-image.sh

Now both do something.

14 years agosrc: Squash some unused variables
Colin Walters [Thu, 20 Oct 2011 20:30:34 +0000 (16:30 -0400)]
src: Squash some unused variables

14 years agoSome initial work on triggers
Colin Walters [Thu, 20 Oct 2011 20:11:39 +0000 (16:11 -0400)]
Some initial work on triggers

14 years agoparallel-debian: Just more in progress work...
Colin Walters [Thu, 20 Oct 2011 20:10:38 +0000 (16:10 -0400)]
parallel-debian: Just more in progress work...

14 years agoTODO: Update
Colin Walters [Thu, 20 Oct 2011 20:06:59 +0000 (16:06 -0400)]
TODO: Update

14 years agoostree.doap: Rename
Colin Walters [Thu, 20 Oct 2011 20:08:00 +0000 (16:08 -0400)]
ostree.doap: Rename

14 years agoDon't use g_variant_new_from_fixed_array(), it was only added in 2.31
Colin Walters [Thu, 20 Oct 2011 14:20:51 +0000 (10:20 -0400)]
Don't use g_variant_new_from_fixed_array(), it was only added in 2.31

g_variant_new_from_data() works, and actually allows us to avoid
a memdup()/free().

14 years agoparallel-debian: More in progress work...
Colin Walters [Thu, 20 Oct 2011 00:54:28 +0000 (20:54 -0400)]
parallel-debian: More in progress work...

14 years agognomeos-make-image.sh: New script
Colin Walters [Thu, 20 Oct 2011 00:53:33 +0000 (20:53 -0400)]
gnomeos-make-image.sh: New script

This uses debootstrap, and sets up the root filesystem like we expect.
Still working on an automated way to download the kernel binary,
initrd, then unpack+modify the initrd.

14 years agorepo: Only open regular files
Colin Walters [Wed, 19 Oct 2011 22:06:06 +0000 (18:06 -0400)]
repo: Only open regular files

Otherwise we'll try to open device files with predictably bad
consequences.

14 years agoDo "bare" repositories by default
Colin Walters [Wed, 19 Oct 2011 21:45:00 +0000 (17:45 -0400)]
Do "bare" repositories by default

Mixing the repository and checkouts is discouraged.

14 years agoostree_switch_root: chdir() in chroot, and make various dirs readonly
Colin Walters [Wed, 19 Oct 2011 18:08:39 +0000 (14:08 -0400)]
ostree_switch_root: chdir() in chroot, and make various dirs readonly

14 years agoostree_switch_root: New executable for use in initrd
Colin Walters [Wed, 19 Oct 2011 16:22:42 +0000 (12:22 -0400)]
ostree_switch_root: New executable for use in initrd

Since Debian's initrd uses busybox which is super limited, let's
fork util-linux's switch_root and add more there.

14 years agomountall.sh: Import from Debian initscripts 2.88dsf-13.11
Colin Walters [Tue, 18 Oct 2011 19:38:16 +0000 (15:38 -0400)]
mountall.sh: Import from Debian initscripts 2.88dsf-13.11

14 years ago"Hacktree" is now known as "OSTree"
Colin Walters [Tue, 18 Oct 2011 18:44:48 +0000 (14:44 -0400)]
"Hacktree" is now known as "OSTree"

It just sounds better.

14 years agoautogen.sh: Improve the script a bit
Javier Jardón [Tue, 18 Oct 2011 16:35:19 +0000 (17:35 +0100)]
autogen.sh: Improve the script a bit

Fix builddir != sourcedir issues ans also run ./configure if
Its needed

14 years agoMakefile.am: honor aclocal flags
Javier Jardón [Tue, 18 Oct 2011 16:27:37 +0000 (17:27 +0100)]
Makefile.am: honor aclocal flags

14 years agochroot_break: New utility
Colin Walters [Tue, 18 Oct 2011 16:23:16 +0000 (12:23 -0400)]
chroot_break: New utility

Inside the OS, some utilities and functions are going to need to
"break out" and be run from the real root.  This is a convenience
utility to do so.

14 years agoparallel-debian: A bit more
Colin Walters [Mon, 17 Oct 2011 20:17:37 +0000 (16:17 -0400)]
parallel-debian: A bit more

14 years agosrc: Only use local VFS - this avoids hitting up the session bus
Colin Walters [Mon, 17 Oct 2011 19:55:06 +0000 (15:55 -0400)]
src: Only use local VFS - this avoids hitting up the session bus

We are designed to run in the "unix model" of being forked a lot, so
startup time matters a lot, and hitting the session bus adds
unnecessary DBus traffic, shows up in strace etc.

It's a microoptimization I admit.

14 years agoREADME: Some notes on BTRFS
Colin Walters [Mon, 17 Oct 2011 15:08:25 +0000 (11:08 -0400)]
README: Some notes on BTRFS

14 years agoAdd documentation for parallel-debian
Colin Walters [Mon, 17 Oct 2011 13:40:12 +0000 (09:40 -0400)]
Add documentation for parallel-debian

14 years agoREADME: Elaborate and clarify some more
Colin Walters [Mon, 17 Oct 2011 13:39:27 +0000 (09:39 -0400)]
README: Elaborate and clarify some more

14 years agoSome discussion about my experimentation with actually doing multiple roots
Colin Walters [Sun, 16 Oct 2011 19:51:36 +0000 (15:51 -0400)]
Some discussion about my experimentation with actually doing multiple roots

14 years agoTODO: Update
Colin Walters [Sun, 16 Oct 2011 18:41:03 +0000 (14:41 -0400)]
TODO: Update

14 years agoREADME.md: Some more notes about upgrading
Colin Walters [Sun, 16 Oct 2011 18:24:56 +0000 (14:24 -0400)]
README.md: Some more notes about upgrading

14 years agoREADME.md: Some more thoughts
Colin Walters [Sun, 16 Oct 2011 18:18:20 +0000 (14:18 -0400)]
README.md: Some more thoughts

14 years agoREADME.md: Some tweaks
Colin Walters [Sun, 16 Oct 2011 15:17:59 +0000 (11:17 -0400)]
README.md: Some tweaks

14 years agoHave an introductory README.md that makes sense
Colin Walters [Sat, 15 Oct 2011 20:46:33 +0000 (16:46 -0400)]
Have an introductory README.md that makes sense

Skip the "how do we build" for now.

14 years agoAdd log builtin
Colin Walters [Sat, 15 Oct 2011 19:43:43 +0000 (15:43 -0400)]
Add log builtin

The "less" spawning is buggy for some reason =(

14 years agoSave root directory permissions in commit
Colin Walters [Sat, 15 Oct 2011 18:20:22 +0000 (14:20 -0400)]
Save root directory permissions in commit

14 years agoSupport for committing files from stdin or a file list file
Colin Walters [Sat, 15 Oct 2011 17:07:26 +0000 (13:07 -0400)]
Support for committing files from stdin or a file list file

14 years agoEnsure we don't get duplicate '.' which leads to corruption
Colin Walters [Sat, 15 Oct 2011 17:04:50 +0000 (13:04 -0400)]
Ensure we don't get duplicate '.' which leads to corruption

In path_split(), we squash '.' entirely, since it's redundant and if
we don't, we return an extra component which callers would then have
to handle.

In repo, ensure we're never explicitly parsing '.' either (yet).

14 years agoMake file deletion work, add test
Colin Walters [Sat, 15 Oct 2011 13:56:31 +0000 (09:56 -0400)]
Make file deletion work, add test

14 years agoActually checksum xattr values, not just names
Colin Walters [Sat, 15 Oct 2011 07:03:51 +0000 (03:03 -0400)]
Actually checksum xattr values, not just names

We need to call lgetxattr() and not just llistxattr().

14 years agorepo: Fix nested tree code
Colin Walters [Sat, 15 Oct 2011 07:02:51 +0000 (03:02 -0400)]
repo: Fix nested tree code

14 years agorepo: Fix format string bug
Colin Walters [Sat, 15 Oct 2011 06:39:47 +0000 (02:39 -0400)]
repo: Fix format string bug

14 years agoImporting and checking out nested trees works!
Colin Walters [Sat, 15 Oct 2011 05:22:42 +0000 (01:22 -0400)]
Importing and checking out nested trees works!

14 years agorepo: Allow empty commit bodies
Colin Walters [Sat, 15 Oct 2011 04:57:13 +0000 (00:57 -0400)]
repo: Allow empty commit bodies

14 years agocheckout: New command
Colin Walters [Sat, 15 Oct 2011 04:45:07 +0000 (00:45 -0400)]
checkout: New command

14 years agorepo: Use 'self' in headers too
Colin Walters [Sat, 15 Oct 2011 03:24:51 +0000 (23:24 -0400)]
repo: Use 'self' in headers too

14 years agoWe can commit multiple times now
Colin Walters [Sat, 15 Oct 2011 03:17:50 +0000 (23:17 -0400)]
We can commit multiple times now

14 years agorepo: Add some GError guards
Colin Walters [Sat, 15 Oct 2011 03:13:23 +0000 (23:13 -0400)]
repo: Add some GError guards

14 years agorepo: Update HEAD after a commit
Colin Walters [Sat, 15 Oct 2011 02:56:40 +0000 (22:56 -0400)]
repo: Update HEAD after a commit

14 years agoshow: New builtin
Colin Walters [Sat, 15 Oct 2011 02:49:44 +0000 (22:49 -0400)]
show: New builtin

14 years agorepo: Fix some bugs loading variants
Colin Walters [Sat, 15 Oct 2011 02:49:28 +0000 (22:49 -0400)]
repo: Fix some bugs loading variants

14 years agoStore objects with an extension so we know whether they're files or metadata
Colin Walters [Sat, 15 Oct 2011 02:30:18 +0000 (22:30 -0400)]
Store objects with an extension so we know whether they're files or metadata

14 years agofsck: Not an error to have 1-linked objects, also print HEAD
Colin Walters [Sat, 15 Oct 2011 02:08:33 +0000 (22:08 -0400)]
fsck: Not an error to have 1-linked objects, also print HEAD

14 years agorepo: Add API to load variants, and get HEAD
Colin Walters [Sat, 15 Oct 2011 02:09:44 +0000 (22:09 -0400)]
repo: Add API to load variants, and get HEAD

14 years agorepo: Ignore importing existing variants
Colin Walters [Sat, 15 Oct 2011 02:07:58 +0000 (22:07 -0400)]
repo: Ignore importing existing variants

It's not an error to duplicate a tree.

14 years agoAdd probably working commits
Colin Walters [Thu, 13 Oct 2011 21:11:01 +0000 (17:11 -0400)]
Add probably working commits

14 years agotests: Support saving temporary directory
Colin Walters [Sat, 15 Oct 2011 01:08:09 +0000 (21:08 -0400)]
tests: Support saving temporary directory

14 years agoAdd test for --repo
Colin Walters [Sat, 15 Oct 2011 00:41:57 +0000 (20:41 -0400)]
Add test for --repo

14 years agoTODO: We have a test!
Colin Walters [Wed, 12 Oct 2011 21:01:25 +0000 (17:01 -0400)]
TODO: We have a test!

14 years agoAdd a COPYING, and put GPL headers in more places
Colin Walters [Wed, 12 Oct 2011 20:50:55 +0000 (16:50 -0400)]
Add a COPYING, and put GPL headers in more places

14 years agoInitial test suite
Colin Walters [Wed, 12 Oct 2011 20:46:23 +0000 (16:46 -0400)]
Initial test suite

14 years agoTODO
Colin Walters [Wed, 12 Oct 2011 20:44:38 +0000 (16:44 -0400)]
TODO

14 years agofsck: Add quiet option
Colin Walters [Wed, 12 Oct 2011 20:43:52 +0000 (16:43 -0400)]
fsck: Add quiet option

14 years agoFix option processing, add some options to link-file
Colin Walters [Wed, 12 Oct 2011 17:45:19 +0000 (13:45 -0400)]
Fix option processing, add some options to link-file

14 years agoDon't include any timestamps in hash, add fsck command
Colin Walters [Wed, 12 Oct 2011 15:38:41 +0000 (11:38 -0400)]
Don't include any timestamps in hash, add fsck command

14 years agoMake link-file work
Colin Walters [Wed, 12 Oct 2011 02:05:16 +0000 (22:05 -0400)]
Make link-file work

14 years agoWrite some code for importing
Colin Walters [Wed, 12 Oct 2011 00:58:50 +0000 (20:58 -0400)]
Write some code for importing

14 years agoSwitch to GLib
Colin Walters [Tue, 11 Oct 2011 18:26:48 +0000 (14:26 -0400)]
Switch to GLib

14 years agoRename from gbuild to hacktree
Colin Walters [Mon, 10 Oct 2011 22:46:57 +0000 (18:46 -0400)]
Rename from gbuild to hacktree

14 years agoDESIGN: Let's use our own kernels
Colin Walters [Mon, 10 Oct 2011 22:39:06 +0000 (18:39 -0400)]
DESIGN: Let's use our own kernels

14 years agoDESIGN: Answer who this is for
Colin Walters [Mon, 10 Oct 2011 13:47:21 +0000 (09:47 -0400)]
DESIGN: Answer who this is for

14 years agoDESIGN: More explanation of problem
Colin Walters [Sun, 9 Oct 2011 22:52:26 +0000 (18:52 -0400)]
DESIGN: More explanation of problem

Initial thoughts on booting details.

14 years agoAdd DOAP file
Colin Walters [Sun, 9 Oct 2011 21:05:18 +0000 (17:05 -0400)]
Add DOAP file

14 years agoInitial commit
Colin Walters [Sun, 9 Oct 2011 21:03:08 +0000 (17:03 -0400)]
Initial commit